package com.badou.project.rest.service;

import java.util.Map;

import com.badou.designer.jdbc.common.web.form.BaseCommonSaveForm;
import com.badou.designer.jdbc.core.service.IBaseModuleService;
import com.badou.designer.jdbc.core.vo.BaseVO;
import com.badou.designer.module.design.model.MdModuleEntity;
import com.badou.security.ssl.token.pojo.Token;


public interface IBaseRestService extends IBaseModuleService{

	/**
	 * 确认接口权限
	 * @param tokenEntity
	 * @param methodName
	 * @return
	 */
	Map<String, Object> authPermission(Token tokenEntity, String methodName);

	BaseVO saveBaseVO(MdModuleEntity moduleBean,
			Map<String, String> defaultFieldValue, BaseCommonSaveForm form,BaseVO baseVO)
			throws Exception;
}
